<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
<script language="JavaScript">


var week,today,i;
week=new Array("星期日","星期一","星期二","星期三","星期四","星期五","星期六");
today=new Date();
i=today.getDay();
var year=today.getFullYear();
var month=today.getMonth()+1;
var date=today.getDate();
document.write("<font color=#3333ff size='6pt' face=微软雅黑>"+"今天是"+year+"年"+month+"月"+date+"日"+week[i]+"</font>");

document.write("<br />")
var shopinfo;
shopinfo=new Array(5);
shopinfo[0]="编号:001";
shopinfo[1]="名称:笔记本电脑";
shopinfo[2]="品牌:联想";
shopinfo[3]="类别:数码科技";
shopinfo[4]="价格:2500";
document.write("商品信息:<br />");
for(var i=0;i<shopinfo.length;i++){
	document.write(shopinfo[i]+"<br />");
}



</script>
	</body>
</html>
